ERROR TRAPPING OFF
Turns DarkBasic Pro's error trapping off. This catches runtime errors that may occur in the code section that follows this command up to the next occurence of ERROR TRAPPING ON. Note that this only covers most runtime errors of native DarkBasic Pro commands. It will eventually not handle runtime errors that occur in the Enhancement Packs or in Third Party Commands.

Important: Do not use ERROR TRAPPING OFF to cover large blocks of code. Use it only to trap runtime errors in error prone commands, ie. those which deal with file operations (LOAD IMAGE, OPEN TO READ, etc.). You can call GET LAST ERROR() to determine if an error has occured while error trapping was switched off.

Important: Not all runtime errors are caught. Use it only for things you cannot check otherwise (for example: loading media).

ARGUMENTS:
*none*


SYNTAX
ERROR TRAPPING OFF


RELATED INFO
View Error Trapping Index
View STYX Index
View STYX Main File